home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / TSPA3340.ZIP / TSPAS.SUM < prev    next >
Text File  |  1993-08-16  |  10KB  |  219 lines

  1. Mon-16-August-1993
  2.  
  3. Summary of the Functions and Procedures in the TSPAxx## Package
  4.  
  5. Functions are indicated by the ending FN, the procedures by the lack
  6. of it.
  7.  
  8. TSUNTA: (uses Dos, Crt, TSUNTE)
  9.   ATTRIBFN Color attribute for direct write to video memory
  10.   HIGHTFN  Current height of text screen
  11.   PANML    Scroll screen left
  12.   PANMR    Scroll screen right
  13.   VDAEXYFN Direct read of a screen video memory color attribute
  14.   VDCHXY   Direct read from the screen video memory
  15.   VIDXY    Direct write to the screen video memory
  16.   WIDTHFN  Current width of the text screen
  17.  
  18. TSUNTB: (uses Dos)
  19.   BBINFN   Convert decimal byte to binary string
  20.   BHEXFN   Convert decimal byte to hexadecimal string
  21.   BINDECFN Convert binary string to decimal word
  22.   BINFN    Convert decimal word to binary string
  23.   BITONFN  Boolean status of a bit in a word
  24.   BTEWRDFN Combine two bytes into a single word, inverse of Hi & Lo
  25.   CONVBFN  Convert a number (string) of any base to any other base
  26.   HEXDECFN Convert hexadecimal string to decimal word
  27.   HEXFN    Convert decimal word to hexadecimal string
  28.   HEXLNGFN Convert hexadecimal string to decimal longint up to 7FFFFFFF
  29.   HIWORDFN The high-order (hi) word of the longint argument
  30.   LBINFN   Convert decimal longint to binary string
  31.   LHEXFN   Convert decimal longint to hexadecimal string
  32.   LOWORDFN The low-order (lo) word of the longint argument
  33.   POWERFN  Conventional raising of a positive real to a power
  34.   POWERGFN Generalized raising of any real to a real power
  35.   POWERLFN Raise longint to a non-negative integer power fast
  36.   R16TOFN  Sixteen to a power fast (word)
  37.   TICKSFN  Count of 18.2 times per second ticks (longint)
  38.   TIMERFN  Seconds elapsed since midnight (real)
  39.   TWOTOFN  Two to a power fast (word)
  40.   WRDLNGFN Combine two words into a longint
  41.  
  42. TSUNTC: (uses Dos, Crt)
  43.   BLBACK   Cancel HIBACK enabling usage of blinking text
  44.   HIBACK   Enable hi-intensity (bright) background colors
  45.   PLAYNOTE Play a note
  46.   REVCOLOR Reverse text colors (a toggle)
  47.  
  48. TSUNTD: (uses Dos)
  49.   AUDIO    Enhanced Sound procedure, no Crt unit needed
  50.   DOSDELAY Delay without needing the Crt unit
  51.   GETPRTFN Get the number of printer default timeout retry times
  52.   LEADFN   Lead a string with a multiple character (i.e. pad left)
  53.   LOWCASFN The opposite of UpCase (inline coded)
  54.   LPTONLFN Get the online status of the first parallel printer
  55.   PARSE    Extract all substrings from a string faster (1st method)
  56.   PARSENFN Number of substrings in a string (resembles ParamCount)
  57.   PARSERFN Get substrings from a string (resembles ParamStr)
  58.   PRTONLFN Get the online status of a printer (may fail)
  59.   PRTSCR   Print the current screen
  60.   SETPRT   Set the number of default printer timeout retry times
  61.   SPARTFN  Returns a specified substring (resembles ParamStr)
  62.   STRCNTFN Number of substrings in a string (resembles ParamCount)
  63.   TRAILFN  Trail a string with a multiple character (i.e. pad right)
  64.   TRIMLFFN Trim a string left
  65.   TRIMRGFN Trim a string right
  66.  
  67. TSUNTE: (uses Dos)
  68.   ALLSIZFN Allocated true size of a file in bytes
  69.   ARCFILFN Is a file's archive bit set or not
  70.   BORDER   Change border color (CGA, VGA)
  71.   CAPS     Turn CapsLock on, or off
  72.   CAPSONFN Get CapsLock status
  73.   CLB      Clear the keyboard buffer
  74.   CLUSIZFN Cluster size on a device (cluster is the allocation unit)
  75.   CMDLNFN  Returns the entire command line
  76.   CURSOFF  Turn off cursor (keeps other cursor attributes)
  77.   CURSON   Turn cursor back on as it was
  78.   CURSOR   Change cursor size
  79.   DATEOKFN Is a date a valid, existing date
  80.   DEFDRVFN Get the default drive
  81.   FEXISTFN File existence status, handles ReadOnly files correctly
  82.   FSIZE2FN File size in bytes, alternative method
  83.   FSIZEFN  File size in bytes as in directory (never on open file)
  84.   HIDFILFN Is a file a hidden file or not
  85.   LABELFN  Get a disk's volume label
  86.   LASTDMFN The number of days in a given month and year
  87.   MONOFN   Is it a monochrome video adapter
  88.   NUMLOCK  Turn NumLock on, or off
  89.   NUMLONFN Get NumLock status
  90.   RDOFILFN Is a file a read-only file or not
  91.   SCRLOCK  Turn ScrollLock on, or off
  92.   SCRLONFN Get ScrollLock status
  93.   SYSFILFN Is a file a system file or not
  94.   WEEKNRFN Returns the week number for a given date
  95.   WKDAYFN  Returns modern weekday
  96.   ZELLERFN Zeller's congruence (for comparing dates etc)
  97.  
  98. TSUNTF: (uses Dos, Crt)
  99.   EDRDEBLN Editable Readln with ctrl-c, break trapping, pre-fill etc
  100.   EDRDEFLN Editable Readln with recall, pre-fill, and insert toggle
  101.   EDRDLN   Readln with line-editing potential (the simplest)
  102.   EDREABLN Edreadln with ctrl-c and break trapping
  103.   EDREADLN Editable Readln with recall, and insert toggle
  104.  
  105. TSUNTG: (uses Dos)
  106.   ACTDRVFN Which floppy drive is active on a one drive system
  107.   ALTFN    Is the alt key depressed
  108.   CLS      Set 25*80 text mode and clear screen (no Crt required)
  109.   CLS40    Set 25*40 text mode and clear screen (no Crt required)
  110.   CTRLFN   Is the ctrl key depressed
  111.   DRIVESFN Number of diskette drives on the system
  112.   DSKCNTFN Get the number of disk devices (MsDos 3.0+)
  113.   FDRIVEFN The name of the first diskette drive on the system
  114.   FIXEDFN  Is a drive a fixed disk or not
  115.   FLOPSTFN Floppy disk status. Is it present and formatted.
  116.   GETESCAN Get scancode of key pressed, enhanced keyboard.
  117.   GETSCAN  Get scancode of key pressed, XT keyboard.
  118.   GOATXY   As the ordinary GoToXY but no Crt unit required
  119.   INDRIVFN Is a media present in the given drive
  120.   INKEYFN  Basic-like timed character input
  121.   ISANSIFN Has ansi.sys or a similar screen driver been loaded
  122.   ISRAMFN  Is a drive a probable ramdisk
  123.   ISUBSTFN Is a drive a substituted drive (MsDos 3.1+)
  124.   KEYPREFN As the ordinary KeyPressed but no Crt unit required
  125.   LFALTFN  Is the left alt key depressed
  126.   LFCTRLFN Is the left ctrl key depressed
  127.   LFSHFTFN Is the left shift key depressed
  128.   MEDIAFN  What kind of a disk media is present in a drive
  129.   RDENKEFN Enhanced keyboard ReadKey, detects also F11 and F12
  130.   READKEFN As the ordinary ReadKey but no Crt unit required
  131.   REVAREA  Reverse the colors of an area
  132.   RTALTFN  Is the right alt key depressed
  133.   RTCTRLFN Is the right ctrl key depressed
  134.   RTSHFTFN Is the right shift key depressed
  135.   SYSRQFN  Is the SysRq key depressed
  136.   USECON   Restore write and writeln direction to the screen
  137.   USEPRN   Redirect write and writeln to the printer
  138.   WHEREXFN As the ordinary WhereX but no Crt unit required
  139.   WHEREYFN As the ordinary WhereY but no Crt unit required
  140.  
  141. TSUNTH: (uses Dos)
  142.   COUNTRFN Get country code (MsDos 3.0+)
  143.   CPUFN    Get the type of the processor chip
  144.   DATEFMFN Country-dependent date format (MsDos 3.0+)
  145.   FATSFN   Get number of file allocation tables, not XTs
  146.   GRTABLFN Has MsDos GRAFTABL been loaded or not
  147.   INTERLFN Get interleave coefficient of a harddisk, not XTs
  148.   ISENHAFN To detect an enhanced keyboard
  149.   ISMOUSFN A simple true/true false test of mouse available
  150.   LASTDRFN Get last drive of the system, softcoded, not XTs
  151.   MATHCOFN Is a math coprocessor present
  152.   MOUSTAFN Status (type byte) of the mouse hardware and driver
  153.   NRCYLFN  Number of cylinders on a drive if media present (MsDos 3.2+)
  154.   PARPORFN Get the number of parallel ports (printers installed)
  155.   ROMDTEFN Get ROM BIOS version (date)
  156.   RS232FN  Get the number of serial ports
  157.   TIMEFMFN Country-dependent time format (MsDos 3.0+)
  158.   Z2ASZFN  Convert an Asciiz string into an ordinary ascii string
  159.  
  160. TSUNTI: (uses Dos)
  161.   BRANDEXE Store information within your program's .exe file (MsDos 3.0+)
  162.   CHKSUMFN Checksum selftest to detect any tampering (MsDos 3.0+)
  163.   USECOUNT Get the number of times the program has been used
  164.  
  165. TSUNTJ: (uses Dos)
  166.   COPYFILE Copy a file from within a Turbo Pascal program
  167.   INTRADDR Show the memory address to which the interrupt points
  168.   INTRLOCA Show the memory address where the interrupt is located
  169.   ISDIRFN  Is a name a directory or not (not for DRDOS)
  170.   ISDIR2FN Is a name a directory or not, alternative method
  171.   ISDIR3FN Is a name a directory or not, a slower and surer method
  172.   OPENEDFN Is an assigned textfile still open or not
  173.   PIPEDIFN Is the standard input from redirection
  174.   PIPEDNFN Is the standard output redirected to nul
  175.   PIPEDOFN Is the standard output redirected
  176.  
  177. TSUNTK: (uses Dos, TSUNTB)
  178.   BOOTDRFN Get boot device name (MsDos 4.0+)
  179.   GETSERFN Get disk's serial number (MsDos 4.0+)
  180.   GETVOLFN Special get disk volume label (MsDos 4.0+)
  181.   SETSER   Set floppy's serial number (MsDos 4.0+)
  182.  
  183. TSUNTL: (uses Dos)
  184.   ISEGAFN  Is at least an EGA present. No graph unit needed
  185.   NOLABEL  Delete a disk's volume label.
  186.   SCROLLDN Scroll down a window. No Crt unit needed
  187.   SCROLLUP Scroll up a window. No Crt unit needed
  188.   SETLABEL Set a disk's volume label.
  189.  
  190. TSUNTBOT: (uses Dos)
  191.   COLDBOOT Reboot computer, including memory tests
  192.   REBOOT   Reboot computer with disk closing and cache flushing
  193.   WARMBOOT Warm reboot of the computer (as alt-ctrl-del)
  194.  
  195. TSUNTENV: (uses Dos)
  196.   ENVADDFN Get the starting segment address of the parent environment
  197.   ENVSIZFN Get the size of the parent environment
  198.   ENVUSEFN Get the current use of the parent environment
  199.   SETENV   Set a parent environment variable (variable=value)
  200.   SETENVSH Set an environment variable for the duration of shelling
  201.   SHOWENV  Write the parent environment table on stdout (for testing)
  202.  
  203. SELFTEST.PAS: (uses Dos)
  204.   SELFTEST Selftest .exe file's size and date to detect tampering
  205.  
  206. TSUNT45: (Uses Dos)  (Needed for TP 4.0 only)
  207.   DosVersion Get Dos version
  208.   EnvCount   The number of strings contained in the DOS environment
  209.   EnvStr     The value of an environment string defined by index count
  210.   FExpand    Expand a file name into a fully qualified file name
  211.   GetCBreak  Get the state of Ctr-Break checking in DOS
  212.   GetEnv     The value of an environment string defined by string id
  213.   GetVerify  Get the status of the MsDos write verify flag
  214.   ParamStr0  The name of the program
  215.   SetCBreak  Set the state of Ctr-Break checking in DOS
  216.   SetVerify  Set the status of the MsDos write verify flag
  217.  
  218. TSERR: (Include verbal run-time error messages)
  219.